<?php
/**
 * Description of dateclass
 *
 * @author Machiel
 */
class Date {

    private $timestamp;

    function __construct($date) {
        $this->timestamp = strtotime($date);
    }
    
    function getParsed($string) {
        return date($string, $this->timestamp);
    }
}
?>
